parser now recognises import stmts