fixed declaration and added const statements