started implementing order of operations