added custom methods