Added more range checks