cleaned up the requirements listener a bit