Adding calls to spotlight and json parsing