first attempt at automating peel manuvre on Z move