quite a hack this is