Modified the application code