add prototype mode