main.m work