updated readme plus third function in helper file