test works, changed getDouble to getD, getInt to getI