Map/Hash could save much time. It could be used at many places