Made slightly less shitty.