prototype parsing