added var3 to tostring