added map method