working on getting period button to work
period button works