lazy way to do it, inefficient too