added support for paying dividend