Added library control