Transferred logic for AF symbol to the pixel_gen module, going to be testing