added signals and changed results padding