A new method for the UHECR mass composition studies