removed a test and method for average