working on intelegent client side models