change method to private