Created a class out of samples