make getInt static. because @joschi said so