works, but looks like cray cray