added main, forgotten in last commit.