ian edited formatting
added private methods to app