modernize imports