changed the boolean for gregs