added example and readme fix