added draft function for emission correction