begin server functionality.
begin server functionality.