removed unnecessary ref