update xml documentation
removed unused variables and procedures
remove unused variables
slight updates to ensure workflow