Automatic add sub in Mac