added up arrow functionality