fixed #59

Code seems to work entering -1 for none