changed skeleton to map string with pointer