biet main application code