[cyril] moved time-consuming code into an operation queue