added invoke, min/mac