add General class