subset analysis improvements