convert another method to new client