Adding a B race to plan

Hi,

I’m currently training for a 10k but I’m running a couple of 5k’s and wanted to add those to my training plan to adjust my mileage, trying to avoid injury. Is that possible?