Err now that I think about it, i forgot to comment on this, why doesn't this function just have a proper parameter?