added const for a better interface