removed tmp and reverted example