moved qGet into its own file