prototype for grin