adding necessary q library