adding extra patch code