default revision to 0