`eval()` should be done here to avoid code duplication.
Good job.