adding promises to service