tweaks to helping functions and movement