initial function definition for setRefClass