fly generating loop
need to fix coordinate issues