testing stuff and fixing build error in main