added moving up and down