added hash tables and dict