fixed jack's shitty code <3