Finished helper functions. Added user interface.