generation

Returns current generation.