removed run() and left the code in the main() method