added static and alert