added option to edit program