Identity implementation and  example