refactor on .shrc