changed client fetchr to use promises