added drafts functionality