make act to a void method because the boolean isn't needed anymore.