reorder imports and use print as function