refactored dividend