prepared to copy to GUI class