started work on server side