added up and down directions