initial checkin of bub prototype