only get the required fields