code styling

- code styling.
- removed unnecessary dependency lodash (was used only to make a forEach)