added some custom method