prepare for publishation