failed attempt at controlling isSmall programatically