building out import functionality