added demo code, css styles