tried different demo code