added selector option to transformer observer