Taking out unbelonging code and fixing tabs.