refactor, remove duplicate code, increasing aesthetic appeal
merge