Prompt: documentation, factoring