just replace querys and querrys with queries in the entire file :)