move launching to an activity