added pixel code