precompile and add sample data