prototype declaration fixed