Minor function argument added; util file added

Add a file, added arguments to functions