Makes extremely ugly code slightly less so