first part of dispatch_after