added rudamentary evaluation function