precompile for mobile