Working to the db queries... ALPHA!