Add reference for some code