Attempt to implement import, needs further testing.