added args to extend