New codeissue Convert to static type