implementing mobile functionalaty