first commit of discrete opt project