prepares app