started documenting all the queries from all the php's used