Boundary cases are working