very minor. you can use google Preconditions