Added level attribute