added extend method for utils