Perform on the main queue