Nearly finished code for Feeder