make a small amount of sense from this nonsensical api