hmmmm. hopefully this works correctly.