Defined ws problem... need to be solved