added projectiles. need to work on algorithm