add default, write, prompt methods