updated fn and test to publish CV