crane example working