rewriting based on docs