adding procedural style functions in readme