solve analytics problem