added arrow heads and arcs, fixed example to use push and pop background