added generator program