added main() and a comment