initial version commited with facebok implemetation