work algorithm with pixel array
resolved conflicts