add pyramid output in scratch