created shift up/down functions