added getSurplusAmount in core