some hashmap stuff.. must be removed...