added a build for Mode