get this function actually working before I add it