changed some fields to autoproperties