made cart more secure