added delay in point generator, tested point generator in main