math part in proram now working