add code to regclassdeail file