improving the mobile sample