minor refactor to remove unused line