Adding code to break app and added breakpoints for debugging.