added pull up switch
merged