fixed down function

before I did not understand it's purpose