add spotlight code