added fields for pins