Add synchronization to controller