import functionality finished