updated pixel_gen file w/ A functionality