moved source sample definition to sensor config