Added framework code