Tried to find way to speed it up