execution function and math commands