added palette support/selector