version #1: prototype and debug info