trying to implement custom method