added callbacks for major actions