added static version