add class for prototype pattern