add selector for format