refactoring code
add testing method