license  added. some changes.