added concat function to first query