trying  solve problem with 'static'