Removed to_d from plan