added get drafts function