added more comments, changed some params, still doesn't work