added what was needed for GUI