added snippet on non-nested models