Basic code for displaying native promises