1. add function to measure application mobility