Simplify the code for Retrevial Evalu