creat a class