added avg(score) in media.java