Added functions needed for mobile build