added SourceType and delete function on types other then System