refactor galargo