remove reference to val