Initialize `formats` variable