added behavior toggle