added new parsing for peripherals