Outine for data has been written