Molecules which contain two carbonyl functionalities have the possibility of forming a ring through an intramolecular aldol reaction. In most cases two sets of $$\alpha$$ hydrogens need to be considered. As with most ring forming reaction five and six membered rings are preferred.