fix bunder and logic issues, better formatting, resign