adding working mode