Inclusion Criteria:  class II carious lesions in premolars and molars. Vital upper or lower teeth with no signs of irreversible pulpitis. Presence of favorable occlusion and teeth are in normal contact with the adjacent teeth.  Exclusion Criteria:  Deep carious defects (close to pulp, less than 1 mm distance). Periapical pathology or signs of pulpal pathology. Endodontically treated teeth Tooth hypersensitivity. Possible prosthodontic restoration of teeth. Heavy occlusion or occlusal contacts or history of bruxism. Severe periodontal affection.