all modal work done