init, ex1 and ex2