just some code for study cpp