subset for assignment 2