serve: prototype implementation