added move up down logic... which is flawd