added wall collision to hack