The code produced is not optimized at all. This fills all other aspects of phase4 except for date attribute access.