add write protected memory