working but wrong priority for starting point