little change in SourceType and Node class
change in MyError class