added import_n and impl head and tail on top of import. closes #194