I had a bad feeling about this but it somehow worked out.