Added class Pin