improved old programs and added new one