math procedures working and displaying results