added main to build