wall collision is functioning