mobile function in metadata