code view working