creating a list that only contains the requested info