trying to figure out best syntax for operations