server part is almost ready