added some framework extensions