added teensy functionality