Added A4 base code