implemented controller for import