almost done except print format works