added imperative version of allMenOver18