start fixing bounds bug