TODO - sort out AMD loader pattern