added header, added main