initlized the code