Implement discrete trial training