Add missing code closer to readme