added the up and down buttons and there aren't any errors in that portion of the code