added main.h
fixes