deleted useless helper method