updated to work with divide