Common method to evaluate value