initial checkin of code from research