oops switched main behavior