Added bool input to io