pin definition moved to add-hardware