added functions to sample servers