enemy creation in own function