added a custom method