added prints into initialize