added main.h for signals