list of directions is now passed directly even for all directions