add stastic code