Replaced long long method calls with simple way.