added ctrl + c KeyboardInterrupt catch