30245 magnetic train-function