use own clas