line:56-67 can be merged into oneline.