Training with functional devices