added string extensions for printing line to console