Changing code to use AnchorCenter branch