changed helper method to native