add get second res function