web gui portion of trainCap