- Added renderItem method