please rename variable into something more informative and please add phpdoc on what this function does po :)