adding custom methods