Implemented generate & generateNext methods