fixed a method's spelling mistake: remvoePeriod→removePeriod