Importing from encoder