adding a bounds method