Second commit: Fixad up- and down direction.