Implementing import functionality