Format with variables