first checkin - mostly functional