oops, should be a hashmap