no idea how this was even working