magic, have no clue but it works