build hash of special functions in constructor