cleanup code, remove unused blocks.
remove unused code blocks.
remove unused code blocks.