working on debugging server side