Generalized contractions