Why aren't you using method from ```CommonMethods.php```? Here and throughout this file.