added proper library ref search