working on extending evaluation function. Implementing JUnit testing