Removing prompt, modularizing code.