add import functionality