create type of sub machine