refactoring of blend methods.