first way was faster