Added promises to the view