Added main() method