beginning of K4-phone analyzer