using magnets only for directly actuating of switches