method to change format
Tests - change format