Added combination operater

Shortened line 4 of the code by using a combined, shorter assignment
operator that functions the same way as the previous code.