custom method test