Add upper and lower bound; logic is still off