getting n items from list