Added init_data and gen_init becoming more useful