added draft functions