added static and virtual methods. no compilation errors