adding selector for units