start with mode handler