adapted readme and example