code refactoring
apply .pit