making server work