oups, better put the prototype before using the function