corrected mode declarations