removed ALL code allocation stuff