Removed hard coded szing of palette