renamed stream functions for less underscores