added import functionality