design modified but sample still not compiling