adding 'from' and 'to' field vars
adding new private constructor