Added dump function and a newline before the prompt