Implementing GUI Functions and View