Add prototype functions