Moved pin declaration