worked on mobile functionality