added a #define VERSION 1