Using dictionaries for pins/status reg.