added lines and main view