friend lib used