added variable evaluation