added the out of bounds stuff