implement the new API of serverCollection