from undefined to -1