old code usage2