add background.Valid method