Added the sample constructor