implemented quilb flags feature