add debug messages for pixels