The getResnr is now working