for teaching purpose