added example and modified readme