added functioning population test