added function main() and changed filename