Remove three lines by adding one?

Not sure if this is best conventions, but I believe it will work.
[untested]