changed to a prototype declaration