add ifmachine to handler