need to fix launch code