This is the original CORAL code as application Kiosk