added arrowUp function