default parameter in prepare and added

prepare_data call