adding boundary cases