Final code(final is used loosely) for the 2014 bot