added ref to smappR