Handling bounds correctly