amended for zero sized input