addition of faisal's base static demo code