model and gui added