LOZIC CODE