removed cout
a little streamlining