improved helpers in autoIncrementable