added setters period class