made some methods more public