Moved method to private