exposed draft as a function and updated readme