div corrected
testing and demo code