refactor somedata