setters for Unit
updated constructor for Unit