Afinal framework