added lines and scaling