add promises to views