Compacted code. Because.

Signed-off-by: Christine <i2i8@cs.ubc.ca>