simulate ksanagap on web