added methods
added hash/array