added launch function
fixed launch function