changed the way SOOM_SEC is defined