title
clean up
more bound checks