.
added 'const' modifier for types
added function definitions