implemented isTall checking