changed static constructor