added const to the interface