added palette example
minor changes and working on palette example