Boolean input conversion added