Paramaterized getSensor