tiny changes to perform legionary