deploy function added