calling scan