changed default value of getDbl to -1