added checkbox inference