eliminated method 'out2' as it was the same as 'out1'