sql queries from adminComp. removed