Is there a way to do that programmaticaly?