modified spec_mem_access(), addresses Issue #1