added grid movement