handle dividend, to be tested