adding switch for multiple eval functions