Made it use given guides in a slightly hacky way.