fixed TODO implementing a new event
adding Palette library to the project