improving front end adding of multiple items