added format validator