demo calc and chess working