original from prac document
working
work done in class