Added direction priority