add the abstract and getSample classes