prototype pattern test added