demo code for understanding PAAS