Added get pixel method