renamed main -> eval; got rid of params