Added the flag attribute