Trying new way introduced in class