Add prototype code