change format metho to return true