moving periodic terms to seperate classes to limit size of class files