modify code to fit Apr 2014 input