changed supported format to use int constants