added stdmodel to support custom models