How to set boundaries with a