[issue #2] Implement eval