I fucking hate logic code.