GUI implementation. needs to be corrected?!?