using class instead of struc
more class instead od struct
formating