functions done. TODO: add in prompt and display number and line