added row functionality for items