updated readme and readme example, some refinement