made some parameters static