init for testing framworl