add basic framework code