added map and apply