added assignments with type