simple circuit reverse engineering

Thanks Ted, that really helps