added comments and moved function to init section
added comment
renamed function and set back-reference