Used some f# queries