contribute formula