added part of the add star function
Added another constructor