added ai movement