jhsto, switch() might clean it up a bit