added palette viewer