underscore to dot refactoring