library item functions