reverted a and d