add prototype for instance