Works properly now, dumbass