improve minutelines and new layout