add new line
move utility methods to separate module