no references and working