now with a three-level model!