replace initialization from code to plists