Implement import function