add 2 new reusing method for class
add agent method for class