reduce unncessary memore refs