added prelimary code for wwb