Updated Period with functionality and javadocs.