Adds async code for tracking