in the process of making serialize async