remove pass reference