update readme + added sample code