added GUI  states