didn't seemt to catch the conditional block, trying this