added static check