refactor code for reuse