make format a variable