changed to link method, instead of pin