got the up and down functions working.  added more functions but commented them out to work on them one at a time.