Title: Switching and generation of ultrashort pulses using all-fibre devices