select object was renamed in body
added functions and function parameters as constants