Added boundaries in horizontal