for demo class