redefine a dynamic method