New constructor. Parameters in structs work with uints