Added this method, used in the analytics