Added testing method