STLOutput function updated;