replaced internal with public