test code with working static