implement with shahar bendavid the server side