make sure to mode as int in createdb