This method is one for both implementation. You are telling about getLastOutput?