did a prototype of the remaining functions