added memory out of bounds violation error
added semantic thing