include flapping and out of bounds exceptions