Updated readme and documented a util function further