adding fmt support