simple Example by using HashMap