library & events models