documenting serving functionality