Moved method to public section