added comment
updated code standards and fixed notices