precompile and handheld view