Pulled code for basic framework