working constructor/ data entry