Do the cheaper function first.