update readme and add examples