Fixed date bug and rewrote array iteration
0.1.0