updated license to GPL version 3