started implementation of main operator