defense coding