Journal paper based of MS thesis