Removed extraneous cout
Added missing util functions