test old code