make sure to stay in bounds