cleans up sample code in README