Y,Z directions added