implementeb by addeding elements