move all import to the header, be more careful with iterating