adding ref links and doing first step