add some code into final method