working on getting rgb data