trying to find an alternate way to specify formats