getting attempts correctly
incrementing version