RichardH : refactoring around method gui