adding q library