Application code states