declared more functions as static