launch function added