solved compiling issue - arguments were declared as non final