Modify for three level