using feedType for switching
rearranging if statements
fixing issue
removing feed parameter
using enum's method for time arithmetic
removing appender stuff
simplifying if statement