using match rather than split for notation - looks faster