Changed common and amd to pre and after