The AQAL model