remove unused helper method