start of conversion to foundation framework