Added an argument to the constructor -> boolean autoStart