updated with sed