RAM protection added